package cn.net.yugu.doraemon.netty.factory.msg;

import cn.net.yugu.doraemon.netty.msg.Message;

/**
 * @description:
 * @author: wanghongli
 * @create: 2022-07-12 14:01:12
 */
public interface MessageFactory {
    /**
     * 根据 msgCode 返回 Message.
     * @param msgCode code
     * @return message
     */
    Class<? extends Message> getClass(int msgCode);
}
